import { Component, Input } from '@angular/core';

@Component({
  selector: 'app-part-container',
  templateUrl: './part-container.component.html',
  styleUrl: './part-container.component.css'
})
export class PartContainerComponent {
  @Input() type = 'redpack';
  @Input() num: number | string = 0;
  all = true;

  toggle() {
    this.all = !this.all;
  }
}
